package com.lemon.system.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 租户表持久层对象，对应数据库
 *
 * @author 李猛
 * @since 2024-02-11
 */
@Getter
@Setter
@ToString
@TableName("sys_tenant")
public class TenantPO implements Serializable {

    private static final long serialVersionUID = 1L;

    //主键ID
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    //租户全称
    private String fullName;

    //租户简称
    private String abbName;

    //营业期限-开始日期
    private LocalDate startDate;

    //营业期限-结束日期
    private LocalDate endDate;

    //法人姓名
    private String legalPerson;

    //证照编号
    private String licenseNumber;

    //社会统一信用代码
    private String socialCode;

    //营业执照照片
    private String certImg;

    //电话
    private String phone;

    //省ID
    private Long provinceId;

    //市ID
    private Long cityId;

    //县ID
    private Long countyId;

    //地址
    private String address;

    //状态 1正常 0异常
    private Boolean status;

    //删除状态 1是 0否
    @TableLogic
    private Boolean deleted;


}
